package com.hgw.Demo05_FacadePattern.facade;

/**
 * Data time:2021/12/15 11:16
 * StudentID:2019112118
 * Author:hgw
 * Description: 测试类
 */
public class Client {

    public static void main(String[] args) {
        // 创建智能音箱对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        // 控制家电
        facade.say("打开家电");

        System.out.println("=====================");

        facade.say("关闭家电");
    }

}
